Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Microchip Technology/ATSAME51J19A/PORT/GROUP[1]/DIRTGL#0x0
Data Direction Toggle
Port Data Direction Toggle
https://github.com/cmsis-svd/cmsis-svd-data